'''
Author: oymh
Date: 2023-11-13 12:00:51
LastEditors: oymh
LastEditTime: 2023-12-12 16:36:00
'''

def getDatabasePath():  
    return r'G:\Workplace\godot\data\demoDataDb.db'

def getInkFuncEventTypePath():
    return r'../Script/Config/InkFuncEventType.cs'

def getTableClassPath():
    return r'../data/DataTypeClass.cs'

def getInkFuncTriggerClassPath():
    return r'../Script/Manager/StoryFuncTriggerManager.cs'

def getInkFunctionFilePath():
    return r'../resouces/ink/functions.ink'

def getInkCharactorFilePath():
    return r'../resouces/ink/charactors.ink'

def getViewConfigPath():
    return r'../Script/Config/ViewConfig.cs'

def getSceneEnumPath():
    return r'../Script/Common/SceneEnum.cs'

def getActorEmunPath():
    return r'../Script/Common/ActorEnum.cs'

# change sql type to csharp type
def deal_table_type(type):
    if type == u'VARCHAR(250)':
        return 'string'
    elif type == u'INT':
        return 'int'
    elif type == u'NUMERIC(10,2)':
        return 'float'
    elif type == u'FLOAT':
        return 'float'
